package com.geostar.constructionland.attachment.entity.attachment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@TableName(value = "jsyd_bz_fj")
@ApiModel(description = "补正附件表")
@Data
public class CorrectionAttachmentEntity {
    @ApiModelProperty("主键")
    @TableId("id")
    private String id;
    @ApiModelProperty("业务ID")
    @TableField("ywid")
    private String businessId;
    @ApiModelProperty("附件ID（附件类型为0-对应OA_FJ表主键，附件类型为1-对应OA_FJMLSL主键）")
    @TableField("fjid")
    private String attachmentId;
    @ApiModelProperty("附件类型（0-附件，1-附件目录）")
    @TableField("type")
    private Integer type;
    @ApiModelProperty("版本号")
    @TableField("version")
    private Integer version;
    @ApiModelProperty("创建时间")
    @TableField("createtime")
    private Timestamp createTime;
    @ApiModelProperty("创建人ID")
    @TableField("createuserid")
    private String createUserId;
    @ApiModelProperty("创建人名称")
    @TableField("createusername")
    private String createUserName;
}
